package com.game.service.game.turntable.control;

public class LifeSavingRequirement {
    private long scoreLogin;//登录时分数
    private int belowScoreLoginRate;//返奖比例为当日输分的百分比开奖(30)
    private long scoreCurrent;//当前分数
    private int savingRateMin;//返奖比例为当日输分的百分比开奖(90~110)
    private int savingRateMax;//返奖比例为当日输分的百分比开奖(90~110)
    private PlayInfo playInfoToday;//今日游玩信息
    private PlayInfo playInfoAll;//全部游玩信息

    public LifeSavingRequirement() {
    }

    public LifeSavingRequirement initRequirement() {
        scoreCurrent = 5000;//当前分数低于5000
        belowScoreLoginRate = 30;//当前分数低于登录分数的30%
        //以上两个 或  同时使用(满足一个即可)
        savingRateMin = 90;//设置拯救比例最小-为今日输分
        savingRateMax = 110;//设置拯救比例最大
        playInfoToday = new PlayInfo();
        playInfoToday.setPlayCounts(20);//设置今日游戏次数20次
        playInfoToday.setPayoutRate(75);//设置今日返奖率75%(4倍流水)
        playInfoToday.setBetTotal(2000);//设置今日投注数2000钻
        playInfoAll = new PlayInfo();
        playInfoAll.setPayoutRate(90);//设置历史返奖率90%
        return this;
    }

    public long getScoreLogin() {
        return scoreLogin;
    }

    public void setScoreLogin(long scoreLogin) {
        this.scoreLogin = scoreLogin;
    }

    public int getBelowScoreLoginRate() {
        return belowScoreLoginRate;
    }

    public void setBelowScoreLoginRate(int belowScoreLoginRate) {
        this.belowScoreLoginRate = belowScoreLoginRate;
    }

    public long getScoreCurrent() {
        return scoreCurrent;
    }

    public void setScoreCurrent(long scoreCurrent) {
        this.scoreCurrent = scoreCurrent;
    }

    public int getSavingRateMin() {
        return savingRateMin;
    }

    public void setSavingRateMin(int savingRateMin) {
        this.savingRateMin = savingRateMin;
    }

    public int getSavingRateMax() {
        return savingRateMax;
    }

    public void setSavingRateMax(int savingRateMax) {
        this.savingRateMax = savingRateMax;
    }


    public PlayInfo getPlayInfoToday() {
        return playInfoToday;
    }

    public void setPlayInfoToday(PlayInfo playInfoToday) {
        this.playInfoToday = playInfoToday;
    }

    public PlayInfo getPlayInfoAll() {
        return playInfoAll;
    }

    public void setPlayInfoAll(PlayInfo playInfoAll) {
        this.playInfoAll = playInfoAll;
    }


}
